package com.gy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gy.entity.result.Publication;
import com.gy.query.PublicationQuery;
import com.gy.result.Result;
import com.gy.vo.PageVO;

public interface PublicationService extends IService<Publication> {
    Result<PageVO<Publication>> getPublication(PublicationQuery publicationQuery);

    Result removePublication(Long id);

    Publication getPublicationById(Long id);

    Result updatePublication(Publication publication);

    Result savePublication(Publication publication);

    Result getPublicationBatchIds(Long[] ids);
}
